package com.easyapi.dao.entity.api;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easyapi.dao.entity.BaseModel;
import java.io.Serializable;
import java.util.Date;

import lombok.*;

/**
 * api申请表
 */
@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "api_center_examine_record")
public class ApiCenterExamineRecord extends BaseModel implements Serializable {
    private static final long serialVersionUID = -6867955214372576872L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 是否删除1--删除
     */
    @TableField(value = "is_deleted")
    private Boolean isDeleted;

    /**
     * 项目id
     */
    @TableField(value = "project_id")
    private Long projectId;

    /**
     * 申请人id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 申请内容
     */
    @TableField(value = "apply_content")
    private String applyContent;

    /**
     * 回复内容
     */
    @TableField(value = "reply_content")
    private String replyContent;

    @TableField(value = "reply_time")
    private Date replyTime;

    /**
     * 0:审核中/1:通过/2:拒绝
     */
    @TableField(value = "`status`")
    private Byte status;
}